package com.ruoyi.develop.factory.factoryMaterialMain.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原材料（主材）对象 factory_material_main
 *
 * @author lmm
 * @date 2024-11-06
 */
public class FactoryMaterialMain extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 框架id
     */
    @Excel(name = "框架id")
    private String projectId;

    /**
     * 框架编号
     */
    @Excel(name = "框架编号")
    private String projectCode;

    /**
     * 生产订单号
     */
    @Excel(name = "生产订单号")
    private String orderId;

    /**
     * 订单id
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * 工单id
     */
    private String workOrderId;

    /**
     * 工单编号
     */
    private String workOrderCode;

    /**
     * 到货明细id
     */
    private String daohuoDetailId;


    /** * 入库明细 */
    private String rukuId;

    /** * 生产明细id */
    private String produceRecordDetailId;

    /** * 抽样ID */
    private String sampleId;

    /**
     * 材料id
     */
    private String materialId;


    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private String goodsId;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String goodsCode;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String goodsName;

    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String goodsModel;

    /**
     * 订单产品关联id
     */
    @Excel(name = "订单产品关联id")
    private String goodsSaleId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;


    /**
     * 检测编号
     */
    @Excel(name = "检测编号")
    private String inspectNumber;


    /**
     * 材料类别
     */
    @Excel(name = "材料类别")
    private String type;

    /**
     * 原材料制造商
     */
    @Excel(name = "原材料制造商")
    private String producer;

    /**
     * 牌号
     */
    @Excel(name = "牌号")
    private String code;

    /**
     * 炉批号
     */
    @Excel(name = "炉批号")
    private String heatBatchNumber;

    /**
     * 来料检验批次号
     */
    @Excel(name = "来料检验批次号")
    private String batchNumber;

    /**
     * 化学成分分析-C
     */
    @Excel(name = "化学成分分析-C")
    private BigDecimal cValue;

    /**
     * 化学成分分析-P
     */
    @Excel(name = "化学成分分析-P")
    private BigDecimal pValue;

    /**
     * 化学成分分析-S
     */
    @Excel(name = "化学成分分析-S")
    private BigDecimal sValue;

    /**
     * 化学成分分析-Al
     */
    @Excel(name = "化学成分分析-Al")
    private BigDecimal alValue;

    /**
     * 化学成分分析-Si
     */
    @Excel(name = "化学成分分析-Si")
    private BigDecimal siValue;

    /**
     * 化学成分分析-Fe
     */
    @Excel(name = "化学成分分析-Fe")
    private BigDecimal feValue;

    /**
     * 化学成分分析-Cu
     */
    @Excel(name = "化学成分分析-Cu")
    private BigDecimal cuValue;

    /**
     * 化学成分分析-Mn
     */
    @Excel(name = "化学成分分析-Mn")
    private BigDecimal mnValue;

    /**
     * 化学成分分析-Mg
     */
    @Excel(name = "化学成分分析-Mg")
    private BigDecimal mgValue;

    /**
     * 化学成分分析-Zn
     */
    @Excel(name = "化学成分分析-Zn")
    private BigDecimal znValue;

    /**
     * 化学成分分析-Ni
     */
    @Excel(name = "化学成分分析-Ni")
    private BigDecimal niValue;

    /**
     * 化学成分分析-Ti
     */
    @Excel(name = "化学成分分析-Ti")
    private BigDecimal tiValue;

    /**
     * 化学成分分析-Cr
     */
    @Excel(name = "化学成分分析-Cr")
    private BigDecimal crValue;

    /**
     * 化学成分分析-Mo
     */
    @Excel(name = "化学成分分析-Mo")
    private BigDecimal moValue;

    /**
     * 出厂检测日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "出厂检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveInspectDate;

    /**
     * 入厂检测日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "入厂检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arriveInspectDate;

    /**
     * 质量证明书
     */
    @Excel(name = "质量证明书 ")
    private String qualityCertificate;

    /**
     * 机械性能-抗拉强度
     */
    @Excel(name = "机械性能-抗拉强度")
    private String tensileStrength;

    /**
     * 屈服强度
     */
    @Excel(name = "屈服强度")
    private String succumbStrength;

    /**
     * 机械性能-断后伸长率
     */
    @Excel(name = "机械性能-断后伸长率")
    private String extend;

    /**
     * 机械性能-硬度
     */
    @Excel(name = "机械性能-硬度")
    private String hardness;

    /**
     * 外观、表面质量
     */
    @Excel(name = "外观、表面质量")
    private String surfaceQuality;

    /**
     * 尺寸
     */
    @Excel(name = "尺寸")
    private String size;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specs;

    /**
     * 拉伸强度
     */
    @Excel(name = "拉伸强度")
    private String pullStrength;

    /**
     * 延伸率
     */
    @Excel(name = "延伸率")
    private String extendRate;

    /**
     * 力学性能-单丝强度
     */
    @Excel(name = "力学性能-单丝强度")
    private String singleStrength;

    /**
     * 来料检测报告
     */
    @Excel(name = "来料检测报告")
    private String materialReport;

    /**
     * 生产厂检测报告
     */
    @Excel(name = "生产厂检测报告")
    private String productReport;

    public String getInspectNumber() {
        return inspectNumber;
    }

    public void setInspectNumber(String inspectNumber) {
        this.inspectNumber = inspectNumber;
    }

    /**
     * 删除标志
     */
    private String delFlag;

    /**
     * 质检是否合格
     */
    private String testPass;

    /**
     * result 检测结果
     */
    private String result;

    public String getSampleId() {
        return sampleId;
    }

    public void setSampleId(String sampleId) {
        this.sampleId = sampleId;
    }

    public String getRukuId() {
        return rukuId;
    }

    public void setRukuId(String rukuId) {
        this.rukuId = rukuId;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getTestPass() {
        return testPass;
    }

    public void setTestPass(String testPass) {
        this.testPass = testPass;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public String getGoodsSaleId() {
        return goodsSaleId;
    }

    public void setGoodsSaleId(String goodsSaleId) {
        this.goodsSaleId = goodsSaleId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setProducer(String producer) {
        this.producer = producer;
    }

    public String getProducer() {
        return producer;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setHeatBatchNumber(String heatBatchNumber) {
        this.heatBatchNumber = heatBatchNumber;
    }

    public String getHeatBatchNumber() {
        return heatBatchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setcValue(BigDecimal cValue) {
        this.cValue = cValue;
    }

    public BigDecimal getcValue() {
        return cValue;
    }

    public void setpValue(BigDecimal pValue) {
        this.pValue = pValue;
    }

    public BigDecimal getpValue() {
        return pValue;
    }

    public BigDecimal getsValue() {
        return sValue;
    }

    public void setsValue(BigDecimal sValue) {
        this.sValue = sValue;
    }

    public void setAlValue(BigDecimal alValue) {
        this.alValue = alValue;
    }

    public BigDecimal getAlValue() {
        return alValue;
    }

    public void setSiValue(BigDecimal siValue) {
        this.siValue = siValue;
    }

    public BigDecimal getSiValue() {
        return siValue;
    }

    public void setFeValue(BigDecimal feValue) {
        this.feValue = feValue;
    }

    public BigDecimal getFeValue() {
        return feValue;
    }

    public void setCuValue(BigDecimal cuValue) {
        this.cuValue = cuValue;
    }

    public BigDecimal getCuValue() {
        return cuValue;
    }

    public void setMnValue(BigDecimal mnValue) {
        this.mnValue = mnValue;
    }

    public BigDecimal getMnValue() {
        return mnValue;
    }

    public void setMgValue(BigDecimal mgValue) {
        this.mgValue = mgValue;
    }

    public BigDecimal getMgValue() {
        return mgValue;
    }

    public void setZnValue(BigDecimal znValue) {
        this.znValue = znValue;
    }

    public BigDecimal getZnValue() {
        return znValue;
    }

    public void setNiValue(BigDecimal niValue) {
        this.niValue = niValue;
    }

    public BigDecimal getNiValue() {
        return niValue;
    }

    public void setTiValue(BigDecimal tiValue) {
        this.tiValue = tiValue;
    }

    public BigDecimal getTiValue() {
        return tiValue;
    }

    public void setCrValue(BigDecimal crValue) {
        this.crValue = crValue;
    }

    public BigDecimal getCrValue() {
        return crValue;
    }

    public BigDecimal getMoValue() {
        return moValue;
    }

    public void setMoValue(BigDecimal moValue) {
        this.moValue = moValue;
    }

    public void setLeaveInspectDate(Date leaveInspectDate) {
        this.leaveInspectDate = leaveInspectDate;
    }

    public Date getLeaveInspectDate() {
        return leaveInspectDate;
    }

    public void setArriveInspectDate(Date arriveInspectDate) {
        this.arriveInspectDate = arriveInspectDate;
    }

    public Date getArriveInspectDate() {
        return arriveInspectDate;
    }

    public void setQualityCertificate(String qualityCertificate) {
        this.qualityCertificate = qualityCertificate;
    }

    public String getQualityCertificate() {
        return qualityCertificate;
    }

    public void setTensileStrength(String tensileStrength) {
        this.tensileStrength = tensileStrength;
    }

    public String getTensileStrength() {
        return tensileStrength;
    }

    public void setSuccumbStrength(String succumbStrength) {
        this.succumbStrength = succumbStrength;
    }

    public String getSuccumbStrength() {
        return succumbStrength;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }

    public String getExtend() {
        return extend;
    }

    public void setHardness(String hardness) {
        this.hardness = hardness;
    }

    public String getHardness() {
        return hardness;
    }

    public void setSurfaceQuality(String surfaceQuality) {
        this.surfaceQuality = surfaceQuality;
    }

    public String getSurfaceQuality() {
        return surfaceQuality;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getSize() {
        return size;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getSpecs() {
        return specs;
    }

    public void setPullStrength(String pullStrength) {
        this.pullStrength = pullStrength;
    }

    public String getPullStrength() {
        return pullStrength;
    }

    public void setExtendRate(String extendRate) {
        this.extendRate = extendRate;
    }

    public String getExtendRate() {
        return extendRate;
    }

    public void setSingleStrength(String singleStrength) {
        this.singleStrength = singleStrength;
    }

    public String getSingleStrength() {
        return singleStrength;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(String workOrderId) {
        this.workOrderId = workOrderId;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getMaterialReport() {
        return materialReport;
    }

    public void setMaterialReport(String materialReport) {
        this.materialReport = materialReport;
    }

    public String getProductReport() {
        return productReport;
    }

    public void setProductReport(String productReport) {
        this.productReport = productReport;
    }

    public String getDaohuoDetailId() {
        return daohuoDetailId;
    }

    public void setDaohuoDetailId(String daohuoDetailId) {
        this.daohuoDetailId = daohuoDetailId;
    }

    public String getProduceRecordDetailId() {
        return produceRecordDetailId;
    }

    public void setProduceRecordDetailId(String produceRecordDetailId) {
        this.produceRecordDetailId = produceRecordDetailId;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("projectId", getProjectId())
                .append("orderId", getOrderId())
                .append("name", getName())
                .append("type", getType())
                .append("producer", getProducer())
                .append("code", getCode())
                .append("heatBatchNumber", getHeatBatchNumber())
                .append("batchNumber", getBatchNumber())
                .append("cValue", getcValue())
                .append("pValue", getpValue())
                .append("sValue", getsValue())
                .append("alValue", getAlValue())
                .append("siValue", getSiValue())
                .append("feValue", getFeValue())
                .append("cuValue", getCuValue())
                .append("mnValue", getMnValue())
                .append("mgValue", getMgValue())
                .append("znValue", getZnValue())
                .append("niValue", getNiValue())
                .append("tiValue", getTiValue())
                .append("crValue", getCrValue())
                .append("moValue", getMoValue())
                .append("leaveInspectDate", getLeaveInspectDate())
                .append("arriveInspectDate", getArriveInspectDate())
                .append("qualityCertificate", getQualityCertificate())
                .append("tensileStrength", getTensileStrength())
                .append("succumbStrength", getSuccumbStrength())
                .append("extend", getExtend())
                .append("hardness", getHardness())
                .append("surfaceQuality", getSurfaceQuality())
                .append("size", getSize())
                .append("specs", getSpecs())
                .append("pullStrength", getPullStrength())
                .append("extendRate", getExtendRate())
                .append("singleStrength", getSingleStrength())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
